package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Position;

import java.util.List;
import java.util.Map;

/**
 * position业务逻辑层
 */
public interface PositionService {


    public List<Position> findAll();


    public PageResult<Position> findPage(int page, int size);


    public List<Position> findList(Map<String, Object> searchMap);


    public PageResult<Position> findPage(Map<String, Object> searchMap, int page, int size);


    public Position findById(Long id);

    public void add(Position position);


    public void update(Position position);


    public void delete(Long id);

}
